package com.bw.educate.service;

import com.bw.educate.common.ResponseResult;
import com.bw.educate.entity.EduRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("education-resouse")
public interface EduResService {

    @PostMapping("/res/save")
    public ResponseResult addSave(@RequestBody EduRes res);
}
